[INFO] cloning repository https://github.com/Liano/procmon
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Liano/procmon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiano%2Fprocmon", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiano%2Fprocmon'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1df5283b6d8353442667208414e19219bd77b387
[INFO] building Liano/procmon against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiano%2Fprocmon" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Liano/procmon on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Liano/procmon
[INFO] finished tweaking git repo https://github.com/Liano/procmon
[INFO] tweaked toml for git repo https://github.com/Liano/procmon written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/Liano/procmon already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3fcda6ea99ec391ce3fdba08e8572df31845b7c25bd1fece7714b6602a43028d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3fcda6ea99ec391ce3fdba08e8572df31845b7c25bd1fece7714b6602a43028d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3fcda6ea99ec391ce3fdba08e8572df31845b7c25bd1fece7714b6602a43028d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3fcda6ea99ec391ce3fdba08e8572df31845b7c25bd1fece7714b6602a43028d", kill_on_drop: false }`
[INFO] [stdout] 3fcda6ea99ec391ce3fdba08e8572df31845b7c25bd1fece7714b6602a43028d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 04bb98de4c0fa541a045cc1d7a4ff6d1114079acc10b5d3de5b11b1e3889e2cd
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "04bb98de4c0fa541a045cc1d7a4ff6d1114079acc10b5d3de5b11b1e3889e2cd", kill_on_drop: false }`
[INFO] [stderr]    Compiling procmon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/process/process.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::os::windows::raw::HANDLE;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::winapi::shlobj`
[INFO] [stdout]   --> src/process/process.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 | use self::winapi::shlobj::INVALID_HANDLE_VALUE;
[INFO] [stdout]    |                   ^^^^^^ could not find `shlobj` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::winapi::winerror`
[INFO] [stdout]   --> src/process/process.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | use self::winapi::winerror::ERROR_NO_MORE_FILES;
[INFO] [stdout]    |                   ^^^^^^^^ could not find `winerror` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::winapi::tlhelp32`
[INFO] [stdout]   --> src/process/process.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | use self::winapi::tlhelp32::{PROCESSENTRY32W
[INFO] [stdout]    |                   ^^^^^^^^ could not find `tlhelp32` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::winapi::minwindef`
[INFO] [stdout]   --> src/process/process.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | use self::winapi::minwindef::{DWORD
[INFO] [stdout]    |                   ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/process/helper.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::winapi::tlhelp32`
[INFO] [stdout]   --> src/process/process.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | use self::winapi::tlhelp32::{TH32CS_SNAPPROCESS
[INFO] [stdout]    |                   ^^^^^^^^ could not find `tlhelp32` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/process/process.rs:78:32
[INFO] [stdout]    |
[INFO] [stdout] 78 |   fn get_next(snapshot_handle: HANDLE) -> Result<Option<Process>, String> {
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32NextW` in crate `kernel32`
[INFO] [stdout]   --> src/process/process.rs:82:45
[INFO] [stdout]    |
[INFO] [stdout] 82 |       let return_state = unsafe { kernel32::Process32NextW(snapshot_handle, mut_win_process_entry) };
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/process/process.rs:102:29
[INFO] [stdout]     |
[INFO] [stdout] 31  | impl Process {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<HANDLE>`
[INFO] [stdout] ...
[INFO] [stdout] 102 |   fn get_first() -> Result<(HANDLE, Process), String> {
[INFO] [stdout]     |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32`
[INFO] [stdout]    --> src/process/process.rs:103:46
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let snapshot_handle = unsafe { kernel32::CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) };
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32FirstW` in crate `kernel32`
[INFO] [stdout]    --> src/process/process.rs:111:45
[INFO] [stdout]     |
[INFO] [stdout] 111 |       let return_state = unsafe { kernel32::Process32FirstW(snapshot_handle, a) };
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in crate `kernel32`
[INFO] [stdout]    --> src/process/process.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |       ::CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, *process_id)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Module32FirstW` in crate `kernel32`
[INFO] [stdout]    --> src/process/process.rs:142:19
[INFO] [stdout]     |
[INFO] [stdout] 142 |         kernel32::Module32FirstW(snapshot_handle, mdl)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/process/process.rs:183:27
[INFO] [stdout]     |
[INFO] [stdout] 183 |   fn close_handle(handle: HANDLE) {
[INFO] [stdout]     |                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in crate `kernel32`
[INFO] [stdout]    --> src/process/process.rs:184:24
[INFO] [stdout]     |
[INFO] [stdout] 184 |     unsafe { kernel32::CloseHandle(handle) };
[INFO] [stdout]     |                        ^^^^^^^^^^^ not found in `kernel32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/process/process.rs:53:35
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let (handle, first_process) = try!(Process::get_first());
[INFO] [stdout]    |                                   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/process/process.rs:97:18
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let module = try!(Process::get_main_module(&win_process_entry.th32ProcessID));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/process/process.rs:119:18
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let module = try!(Process::get_main_module(&process_id));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/process/helper.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |   let os_str = OsString::from_wide(trimmed_wide);
[INFO] [stdout]    |                          ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `procmon`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "04bb98de4c0fa541a045cc1d7a4ff6d1114079acc10b5d3de5b11b1e3889e2cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04bb98de4c0fa541a045cc1d7a4ff6d1114079acc10b5d3de5b11b1e3889e2cd", kill_on_drop: false }`
[INFO] [stdout] 04bb98de4c0fa541a045cc1d7a4ff6d1114079acc10b5d3de5b11b1e3889e2cd
